package com.qing.service;

import com.qing.pojo.Notice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qinghua
 * @since 2022-06-06
 */
public interface NoticeService extends IService<Notice> {

    List<Map<String, Object>> queryAllAndName();

    /**
     * 根据公告标题进行模糊查询
     * @param title
     * @return {@link List< Map< String, Object>> }
     */
    List<Map<String, Object>> queryNoticeByTitle(String title);

}
